﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for BLLTrackPackage
/// </summary>
public class BLLTrackPackage
{
	public BLLTrackPackage()
	{
		//
		// TODO: Add constructor logic here
		//
	}

    public vPackageDetail GetvPackage(string barcode)
    {
        DALPackage dalPackage = new DALPackage();
        return dalPackage.GetvPackage(barcode);
    }

    public List<vTransitRecord> GetvPackageTransits(int packageid)
    {
        DALTransit dalTransit = new DALTransit();
        return dalTransit.GetPackagevTransits(packageid);
    }
}